package org.shs.company.model;

import java.util.Date;

/**
 * Model to encapsulate the details of a particular worker (supervisor or labour).
 * <br/>
 * <br/><b>Created:</b>&nbsp;&nbsp; Dec 29, 2008 7:35:09 PM
 *
 * @author Gunjan
 */
public class WorkerModel
{

   // The worker id.
   private String workerId;
   
   // The worker type (labour or supervisor).
   private String workerType;
   
   // The worker name.
   private String workerName;
   
   // Worker's first phone number.
   private String workerPhone1;

   // Worker's second phone number.
   private String workerPhone2;

   // Worker's third phone number.
   private String workerPhone3;

   // The unique ID identifying a worker's association with a company.
   private String workerCompanyAssocId; 
   
   // The company this worker is assigned to.
   private String assignedCompanyId;
   
   // The date from which this worker is assigned to the company.
   private Date assignmentEffectiveDate;

   /**
    * Returns the worker id.
    * @return The worker id.
    */
   public String getWorkerId()
   {
      return workerId;
   }

   /**
    * Sets the worker id.
    * @param workerId The worker id.
    */
   public void setWorkerId(String workerId)
   {
      this.workerId = workerId;
   }

   /**
    * Set the worker type (labour or supervisor).
    * @return The worker type (labour or supervisor).
    */
   public String getWorkerType()
   {
      return workerType;
   }

   /**
    * Sets the worker type (labour or supervisor).
    * @param workerType The worker type (labour or supervisor).
    */
   public void setWorkerType(String workerType)
   {
      this.workerType = workerType;
   }

   /**
    * Gets the worker name.
    * @return The worker name.
    */
   public String getWorkerName()
   {
      return workerName;
   }

   /**
    * Sets the worker name.
    * @param workerName The worker name.
    */
   public void setWorkerName(String workerName)
   {
      this.workerName = workerName;
   }

   /**
    * Gets the worker's first phone number.
    * @return Worker's first phone number.
    */
   public String getWorkerPhone1()
   {
      return workerPhone1;
   }

   /**
    * Sets the worker's first phone number.
    * @param workerPhone1 Worker's first phone number.
    */
   public void setWorkerPhone1(String workerPhone1)
   {
      this.workerPhone1 = workerPhone1;
   }

   /**
    * Gets the worker's second phone number.
    * @return Worker's second phone number.
    */
   public String getWorkerPhone2()
   {
      return workerPhone2;
   }

   /**
    * Sets the worker's first phone number.
    * @param workerPhone2 Worker's second phone number.
    */
   public void setWorkerPhone2(String workerPhone2)
   {
      this.workerPhone2 = workerPhone2;
   }

   /**
    * Gets the worker's first phone number.
    * @return Worker's third phone number.
    */
   public String getWorkerPhone3()
   {
      return workerPhone3;
   }

   /**
    * Sets the worker's first phone number.
    * @param workerPhone3 Worker's first phone number.
    */
   public void setWorkerPhone3(String workerPhone3)
   {
      this.workerPhone3 = workerPhone3;
   }

   /**
    * Gets the unique ID identifying a worker's association with a company.
    * @return The unique ID identifying a worker's association with a company.
    */
   public String getWorkerCompanyAssocId()
   {
      return workerCompanyAssocId;
   }

   /**
    * Sets the unique ID identifying a worker's association with a company.
    * @param workerCompanyAssocId The unique ID identifying a worker's
    * association with a company.
    */
   public void setWorkerCompanyAssocId(String workerCompanyAssocId)
   {
      this.workerCompanyAssocId = workerCompanyAssocId;
   }

   /**
    * Gets the company this worker is assigned to.
    * @return The company this worker is assigned to.
    */
   public String getAssignedCompanyId()
   {
      return assignedCompanyId;
   }

   /**
    * Sets the company this worker is assigned to.
    * @param assignedCompanyId The company this worker is assigned to.
    */
   public void setAssignedCompanyId(String assignedCompanyId)
   {
      this.assignedCompanyId = assignedCompanyId;
   }

   /**
    * Gets the date from which this worker is assigned to the company.
    * @return The date from which this worker is assigned to the company.
    */
   public Date getAssignmentEffectiveDate()
   {
      return assignmentEffectiveDate;
   }

   /**
    * Sets the date from which this worker is assigned to the company.
    * @param assignmentEffectiveDate The date from which this worker is assigned
    * to the company.
    */
   public void setAssignmentEffectiveDate(Date assignmentEffectiveDate)
   {
      this.assignmentEffectiveDate = assignmentEffectiveDate;
   }
   
}